DataSource for Entity Framework in WPF
C1.LiveLinq.Indexing Namespace / Index<T> Class / FindStartingWith Method
The string to search for as the beginning of key value strings.
An optional condition that found items must satisfy.
Optionally specifies the order of the key values to sort the result (C1.LiveLinq.Order.Unordered if sorting is not required).

In This Topic
    FindStartingWith Method (Index<T>)
    In This Topic

    Finds items with string key values starting with the specified string.

    Implements IIndexScanner(T).FindStartingWith(string,Func(string, bool),Order)

    Syntax
    'Declaration
     
    Public Function FindStartingWith( _
       ByVal value As String, _
       ByVal keyPredicate As Func(Of String,Boolean), _
       ByVal order As Order _
    ) As IndexQuery(Of T,String)
    public IndexQuery<T,string> FindStartingWith( 
       string value,
       Func<string,bool> keyPredicate,
       Order order
    )

    Parameters

    value
    The string to search for as the beginning of key value strings.
    keyPredicate
    An optional condition that found items must satisfy.
    order
    Optionally specifies the order of the key values to sort the result (C1.LiveLinq.Order.Unordered if sorting is not required).

    Return Value

    An object enumerating all items whose key values are strings that have a beginning matching the specified string and satisfy the optional condition.
    See Also